/**
 * Copyright &copy; 2012-2014 <a href="http://www.iframework.cn">Mas</a> All rights reserved.
 */
package com.iframework.mas.modules.law.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.iframework.mas.common.persistence.Page;
import com.iframework.mas.common.service.CrudService;
import com.iframework.mas.modules.law.entity.Law;
import com.iframework.mas.modules.law.dao.LawDao;

/**
 * 法律条例Service
 * @author 余艾龙
 * @version 2016-01-21
 */
@Service
@Transactional(readOnly = true)
public class LawService extends CrudService<LawDao, Law> {

	public Law get(String id) {
		return super.get(id);
	}
	
	public List<Law> findList(Law law) {
		return super.findList(law);
	}
	
	public Page<Law> findPage(Page<Law> page, Law law) {
		return super.findPage(page, law);
	}
	
	@Transactional(readOnly = false)
	public void save(Law law) {
		super.save(law);
	}
	
	@Transactional(readOnly = false)
	public void delete(Law law) {
		super.delete(law);
	}
	
}